const operatorList = [
  {
    path: '/project-order-center',
    component: 'Layout',
    redirect: '/order-center',
    name: 'ProjectOrderCenter',
    meta: {
      title: '项目订单中心',
      icon: 'ProjectOrderCenter'
    },
    children: [
      {
        path: '/order-center',
        component: '/project-order-center/order-center',
        name: 'OrderCenter',
        meta: { title: '订单中心', icon: 'ProjectOrderCenter', barFlag: true },
      },
    ]
  },
  {
    path: '/project-order-management',
    component: 'Layout',
    redirect: '/project-order-details',
    name: 'ProjectOrderManagement',
    meta: {
      title: '项目订单管理',
      icon: 'ProjectOrderManagement'
    },
    children: [
      {
        path: '/project-order-details',
        component: '/project-order-management/project-order-details',
        name: 'ProjectOrderDetails',
        meta: { title: '项目订单详情', icon: 'ProjectOrderDetails', barFlag: true },
      }, {
        path: '/service-provider-configuration',
        component: '/project-order-management/service-provider-configuration',
        name: 'ServiceProviderConfiguration',
        meta: { title: '服务提供方调度', icon: 'ServiceProviderConfiguration', barFlag: true },
      }, {
        path: '/resource-allocation',
        component: '/project-order-management/resource-allocation',
        name: 'ResourceAllocation',
        meta: { title: '资源配置', icon: 'ResourceAllocation', barFlag: true },
      }, {
        path: '/operation-supervision-control',
        component: '/project-order-management/operation-supervision-control',
        name: 'OperationSupervisionControl',
        meta: { title: '运营监督管控', icon: 'marketPlate', barFlag: true },
      }, {
        path: '/work-order-management',
        component: '/project-order-management/work-order-management',
        name: 'WorkOrderManagement',
        meta: { title: '工单管理', icon: 'WorkOrderManagement', barFlag: true },
      }, {
        path: '/project-schedule-management',
        component: '/project-order-management/project-schedule-management',
        name: 'ProjectScheduleManagement',
        meta: { title: '项目进度管理', icon: 'ProjectScheduleManagement', barFlag: true },
      }, {
        path: '/end-user-settlement',
        component: '/project-order-management/end-user-settlement',
        name: 'EndUserSettlement',
        meta: { title: '终端用户方结算', icon: 'Settlement', barFlag: true },
      }, {
        path: '/service-provider-settlement',
        component: '/project-order-management/service-provider-settlement',
        name: 'ServiceProviderSettlement',
        meta: { title: '服务提供方结算', icon: 'Settlement', barFlag: true },
      }, {
        path: '/abnormal-order-processing',
        component: '/project-order-management/abnormal-order-processing',
        name: 'AbnormalOrderProcessing',
        meta: { title: '异常订单处理', icon: 'AbnormalOrderProcessing', barFlag: true },
      },
    ]
  },
  {
    path: '/service-project-management',
    component: 'Layout',
    redirect: '/service-classification-management',
    name: 'ServiceProjectManagement',
    meta: {
      title: '服务项目管理',
      icon: 'ServiceProjectManagement'
    },
    children: [
      {
        path: '/service-classification-management',
        component: '/service-project-management/service-classification-management',
        name: 'ServiceClassificationManagement',
        meta: { title: '服务分类管理', icon: 'AbnormalOrderManagement', barFlag: true },
      },
      {
        path: '/project-information-management',
        component: '/service-project-management/project-information-management',
        name: 'ProjectInformationManagement',
        meta: { title: '项目信息管理', icon: 'ProjectInformationManagement', barFlag: true },
      },
      {
        path: '/custom-service-management',
        component: '/service-project-management/custom-service-management',
        name: 'CustomServiceManagement',
        meta: { title: '自定义服务项目', icon: 'CustomServiceManagement', barFlag: true },
      },
    ]
  },
  {
    path: '/membership-management',
    component: 'Layout',
    redirect: '/membership-contract',
    name: 'MembershipManagement',
    meta: {
      title: '终端客户方管理',
      icon: 'MembershipManagement'
    },
    children: [
      {
        path: '/membership-examine',
        component: '/membership-management/membership-examine',
        name: 'MembershipExamine',
        meta: { title: '入驻审核', icon: 'ServiceProviderExamine', barFlag: true }
      },
      {
        path: '/membership-information',
        component: '/membership-management/membership-information',
        name: 'MembershipInformation',
        meta: {
          title: '用户方信息管理',
          icon: 'MembershipInformation',
          barFlag: true
        }
      },
      {
        path: '/membership-violation',
        component: '/membership-management/membership-violation',
        name: 'ServiceProviderViolation',
        meta: {
          title: '违规处理',
          icon: 'ServiceProviderViolation',
          barFlag: true
        }
      },
      {
        path: '/membership-contract',
        component: '/membership-management/membership-contract',
        name: 'MembershipContract',
        meta: {
          title: '合同管理',
          icon: 'ServiceProviderContract',
          barFlag: true
        }
      }
    ]
  },
  {
    path: '/service-provider-management',
    component: 'Layout',
    redirect: '/service-change-review',
    name: 'ServiceProviderManagement',
    meta: {
      title: '服务提供方管理',
      icon: 'ServiceProviderManagement'
    },
    children: [
      {
        path: '/service-provider-examine',
        component: '/service-provider-management/service-provider-examine',
        name: 'ServiceProviderExamine',
        meta: {
          title: '入驻审核',
          icon: 'ServiceProviderExamine',
          barFlag: true
        }
      },
      {
        path: '/service-change-review',
        component: '/service-provider-management/service-change-review',
        name: 'ServiceChangeReview',
        meta: { title: '服务项目开通审核', icon: 'ServiceChangeReview', barFlag: true }
      },
      // {
      //   path: '/price-change-review',
      //   component: '/service-provider-management/price-change-review',
      //   name: 'PriceChangeReview',
      //   meta: {
      //     title: '价目表变更审核',
      //     icon: 'PriceChangeReview',
      //     barFlag: true
      //   }
      // },
      {
        path: '/service-provider-information',
        component: '/service-provider-management/service-provider-information',
        name: 'ServiceProviderInformation',
        meta: {
          title: '服务方信息管理',
          icon: 'ServiceProviderInformation',
          barFlag: true
        }
      },
      {
        path: '/service-provider-cross',
        component: '/service-provider-management/service-provider-cross',
        name: 'ServiceProviderCross',
        meta: {
          title: '跨区域申报',
          icon: 'ServiceProviderCross',
          barFlag: true
        }
      },
      {
        path: '/service-provider-violation',
        component: '/service-provider-management/service-provider-violation',
        name: 'ServiceProviderViolation',
        meta: {
          title: '违规处理',
          icon: 'ServiceProviderViolation',
          barFlag: true
        }
      },
      {
        path: '/service-provider-contract',
        component: '/service-provider-management/service-provider-contract',
        name: 'ServiceProviderContract',
        meta: {
          title: '合同管理',
          icon: 'ServiceProviderContract',
          barFlag: true
        }
      }
    ]
  },
  {
    path: '/risk-monitoring',
    component: 'Layout',
    redirect: '/Abnormal-order-monitoring',
    name: 'RiskMonitoring',
    meta: {
      title: '风险监控',
      icon: 'ProjectOrderCenter'
    },
    children: [
      {
        path: '/abnormal-order-monitoring',
        component: '/risk-monitoring/abnormal-order-monitoring',
        name: 'AbnormalOrderMonitoring',
        meta: { title: '异常订单监控', icon: 'ProjectOrderCenter', barFlag: true },
      },
    ]
  },
  {
    path: '/customer-service-center',
    component: 'Layout',
    redirect: '/user-consultation',
    name: 'ServiceServiceCenter',
    meta: {
      title: '客户服务中心',
      icon: 'UserConsultation'
    },
    children: [
      {
        path: '/user-consultation',
        component: '/customer-service-center/user-consultation',
        name: 'UserConsultation',
        meta: { title: '咨询反馈-用户方', icon: 'UserConsultation', barFlag: true },
      },
      {
        path: '/service-consultation',
        component: '/customer-service-center/service-consultation',
        name: 'ServiceConsultation',
        meta: { title: '咨询反馈-服务方', icon: 'UserConsultation', barFlag: true },
      },
      {
        path: '/user-problem-feedback',
        component: '/customer-service-center/user-problem-feedback',
        name: 'UserProblemFeedback',
        meta: { title: '售后问题管理', icon: 'UserProblemFeedback', barFlag: true },
      },
    ]
  },
  {
    path: '/system-management',
    component: 'Layout',
    redirect: '/system-user',
    name: 'SystemManagement',
    meta: {
      title: '系统管理',
      icon: 'SystemManagement'
    },
    children: [
      {
        path: '/system-personal-center',
        component: '/system-management/system-personal-center',
        name: 'SystemPersonalCenter',
        meta: { title: '基本信息管理', barFlag: true, icon: 'SystemPersonalCenter' }
      },
      {
        path: '/system-user-management',
        component: '/system-management/system-user/system-user-management',
        name: 'SystemUserManagement',
        meta: { title: '用户管理', barFlag: true, icon: 'SystemUserManagement' }
      },
      {
        path: '/role-management',
        component: '/system-management/system-user/role-management',
        name: 'RoleManagement',
        meta: { title: '角色管理', barFlag: true, icon: 'RoleManagement' }
      },
      {
        path: '/system-user-service',
        component: '/system-management/system-user-service',
        name: 'SystemUserService',
        meta: { title: '客服人员配置', barFlag: true, icon: 'SystemUserService' }
      },
      {
        path: '/sytem-subject-binding',
        component: '/system-management/sytem-subject-binding',
        name: 'SystemSubjectBinding',
        meta: { title: '主体绑定', barFlag: true, icon: 'SystemSubjectBinding' }
      },
      {
        path: '/system-application-entry',
        component: '/system-management/system-application-entry',
        name: 'SystemApplicationEntry',
        meta: { title: '入驻申请', barFlag: true, icon: 'SystemApplicationEntry' }
      }
    ]
  }
]

export { operatorList }
